package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.RecordDtuHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 通讯模块上报数据 Mapper 接口
 * </p>
 *
 * @author guoliang.lao
 * @since 2023-10-12
 */
@Mapper
@Repository
public interface RecordDtuHistoryMapper extends BaseMapper<RecordDtuHistory> {

    boolean insertBatch(@Param("histories") List<RecordDtuHistory> histories, @Param("month") String month);

    void deleteRecordHistory(@Param("month") String month);
}
